package vn.sg.bean;

import java.io.Serializable;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

/**
 * First bean to generate hello message
 * @author dthuy
 *
 */
@ManagedBean
@SessionScoped
public class HelloBean implements Serializable {
	private static final long serialVersionUID = 1;
	
	private String name ; 
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String sayHello() {
		return "Welcome to our first page , " + name ;
	}
}
